Apache ActiveMQ ™ -- Point to Point with multiple Consumers
Site > Old Links > Point to Point with multiple Consumers
Note: I am in to JMS and active MQ.
I am writing an application and would like to use Active MQ as Queue for queuing up processing request and have them consumed by the next available node in a distributed system. (One producer many consumers)
In the JMS spec it says that the behavior of a point to point (Queue) with mutiple consumers is "undefined".
The behavior I want is that each consumer would get the next message available and only one consumer would get any single message. You know, like a queue.
What I observe in Active MQ is what I would expect. Even the use of client AKK messages seem to work the way I would expect. That is, in client ACK mode the message is only sent to one consumer but if that consumer dies without ACKing the message, the message is re posted to the queue.
My question is, are my observations correct and is this expected behavior for Active MQ and can I rely on this behavior.
Thanks,
Brian Mason
bmason@chrome.com
Overview
Search
Sub Projects
Community
- Support
- Contributing
- Discussion Forums
- Mailing Lists
- IRC
- IRC Log
- Site
- Sponsorship
- Projects Using ActiveMQ
- Users
- Team
- Thanks
Features
- Advisory Message
- Clustering
- Cross Language Clients
- Enterprise Integration Patterns
- JMX
- JMS to JMS Bridge
- MasterSlave
- Message Groups
- Networks of Brokers
- Performance
- Persistence
- Security
- Virtual Destinations
- Visualisation
- More ...
Connectivity
- Ajax
- AMQP
- Axis and CXF Support
- C Integration
- C++
- C# and .Net Integration
- CMS
- J2EE
- JBoss Integration
- Jetty
- JNDI Support
- NMS
- REST
- RSS and Atom
- Spring Support
- Stomp
- Tomcat
- Unix Service
- WebLogic Integration
- XMPP
- More ...
Using ActiveMQ 5
- Getting Started
- Initial Configuration
- Running a Broker
- Embedded Brokers
- Command Line Tools
- Configuring Transports
- Examples
- Web Samples
- Monitoring the Broker
- Xml Configuration
- Xml Reference
- More ...
Using ActiveMQ 4
- Getting Started
- Initial Configuration
- Running a Broker
- Embedded Brokers
- Command Line Tools
- Configuring Transports
- Examples
- Web Samples
- Monitoring the Broker
- Xml Configuration
- Xml Reference
- More ...
Tools
External Tools
Support
Related Projects
Developers
Tests
- Maven2 Performance Plugin
- Benchmark Tests
- JMeter System Tests
- JMeter Performance Tests
- Integration Tests